
export const setting = [{
  field: "msgId",
  title: "消息ID",
  type: "text"
},
{
  field: "msgTitle",
  title: "消息标题",
  type: "text"
},
{
  field: "msgContent",
  title: "消息内容",
  type: "text"
},
{
  field: "targetUrl",
  title: "目标URL",
  type: "text"
},
{
  field: "msgType",
  title: "1-公告所有的人都可以看到",
  type: "text"
},
{
  field: "msgLevel",
  title: "1-高",
  type: "text"
},
{
  field: "sendOper",
  title: "消息发送人",
  type: "text"
},
{
  field: "sendDate",
  title: "消息发送日期",
  type: "date"
},
{
  field: "sendTime",
  title: "消息发送时间",
  type: "time"
},
{
  field: "recvNet",
  title: "消息接收机构",
  type: "text"
},
{
  field: "recvOper",
  title: "消息接收用户",
  type: "text"
},
{
  field: "msgIcon",
  title: "消息图标",
  type: "text"
},
{
  field: "status",
  title: "1 生效  2 无效",
  type: "text"
},
{
  field: "effectiveFlag",
  title: "生效标志  1：永久生效；2：天数生效；3：区间生效",
  type: "text"
},
{
  field: "effectiveDayCnt",
  title: "生效天数",
  type: "text"
},
{
  field: "effectiveStartDate",
  title: "生效起始日期",
  type: "date"
},
{
  field: "effectiveStartTime",
  title: "生效起始时间",
  type: "time"
},
{
  field: "effectiveEndDate",
  title: "生效结束日期",
  type: "date"
},
{
  field: "effectiveEndTime",
  title: "生效结束时间",
  type: "time"
},
]

export const rule = {
  msgId: [
    { required: true, message: '必填项', trigger: 'blur' }
  ],
  msgTitle: [
    { required: true, message: '必填项', trigger: 'blur' }
  ],
  msgContent: [
    { required: true, message: '必填项', trigger: 'blur' }
  ],
  sendOper: [
    { required: true, message: '必填项', trigger: 'blur' }
  ],
  sendDate: [
    { required: true, message: '必填项', trigger: 'blur' }
  ],
  sendTime: [
    { required: true, message: '必填项', trigger: 'blur' }
  ],}
  